home *** CD-ROM | disk | FTP | other *** search
- // myclock.odl : type library source for OLE Custom Control project.
-
- // This file will be processed by the Make Type Library (mktyplib) tool to
- // produce the type library (myclock.tlb) that will become a resource in
- // myclock.ocx.
-
- #include <olectl.h>
-
- [ uuid(85A87843-D415-101B-96E3-0020AF38F4BB), version(1.0),
- helpstring("Myclock OLE Custom Control module") ]
- library MyclockLib
- {
- importlib(STDOLE_TLB);
- importlib(STDTYPE_TLB);
-
- // Primary dispatch interface for CMyclockCtrl
-
- [ uuid(85A87841-D415-101B-96E3-0020AF38F4BB),
- helpstring("Dispatch interface for Myclock Control") ]
- dispinterface _DMyclock
- {
- properties:
- // NOTE - ClassWizard will maintain property information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_PROP(CMyclockCtrl)
- [id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
- [id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor;
- [id(1)] long UpdateInterval;
- [id(DISPID_FONT), bindable] IFontDisp* Font;
- //}}AFX_ODL_PROP
-
- methods:
- // NOTE - ClassWizard will maintain method information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_METHOD(CMyclockCtrl)
- [id(DISPID_REFRESH)] void Refresh();
- [id(2)] void Beep();
- //}}AFX_ODL_METHOD
-
- [id(DISPID_ABOUTBOX)] void AboutBox();
- };
-
- // Event dispatch interface for CMyclockCtrl
-
- [ uuid(85A87842-D415-101B-96E3-0020AF38F4BB),
- helpstring("Event interface for Myclock Control") ]
- dispinterface _DMyclockEvents
- {
- properties:
- // Event interface has no properties
-
- methods:
- // NOTE - ClassWizard will maintain event information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_EVENT(CMyclockCtrl)
- [id(1)] void NewMinute();
- [id(DISPID_CLICK)] void Click();
- [id(DISPID_DBLCLICK)] void DblClick();
- //}}AFX_ODL_EVENT
- };
-
- // Class information for CMyclockCtrl
-
- [ uuid(85A87840-D415-101B-96E3-0020AF38F4BB),
- helpstring("Myclock Control") ]
- coclass Myclock
- {
- [default] dispinterface _DMyclock;
- [default, source] dispinterface _DMyclockEvents;
- };
-
-
- //{{AFX_APPEND_ODL}}
- };
-